package com.crazypie.soundgraph 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Paul Pepper
	 */
	internal class PauseChildrenEvent extends Event 
	{
		public static const PAUSE_CHILDREN:String = 'pauseChildren';
		private var m_isPaused:Boolean;
		
		public function PauseChildrenEvent( pIsPaused:Boolean ) 
		{ 
			super( PAUSE_CHILDREN, false, false );
			
			m_isPaused = pIsPaused;
		} 
		
		public override function clone():Event 
		{ 
			return new PauseChildrenEvent( m_isPaused );
		} 
		
		public override function toString():String 
		{ 
			return formatToString( "MuteChildrenEvent", "isPaused" ); 
		}
		
		public function get isPaused():Boolean { return m_isPaused; }
		
	}
	
}